package com.psl.action.work.finishproduct;

import com.psl.services.work.finishProductServices;

public class finishProductInsert {
    private String h_no;
    private String h_name;
    private String h_size;
    private String h_r;
    private String h_n;
    private int h_num;
    private String h_date;
    private String h_people;
    private String h_ticketno;
    private int status;

    public String getH_no() {
        return this.h_no;
    }

    public void setH_no(String h_no) {
        this.h_no = h_no;
    }

    public String getH_name() {
        return this.h_name;
    }

    public void setH_name(String h_name) {
        this.h_name = h_name;
    }

    public String getH_size() {
        return this.h_size;
    }

    public void setH_size(String h_size) {
        this.h_size = h_size;
    }

    public String getH_r() {
        return this.h_r;
    }

    public void setH_r(String h_r) {
        this.h_r = h_r;
    }

    public String getH_n() {
        return this.h_n;
    }

    public void setH_n(String h_n) {
        this.h_n = h_n;
    }

    public int getH_num() {
        return this.h_num;
    }

    public void setH_num(int h_num) {
        this.h_num = h_num;
    }



    public String getH_date() {
        return this.h_date;
    }

    public void setH_date(String h_date) {
        this.h_date = h_date;
    }

    public String getH_people() {
        return this.h_people;
    }

    public void setH_people(String h_people) {
        this.h_people = h_people;
    }

    public String getH_ticketno() {
        return this.h_ticketno;
    }

    public void setH_ticketno(String h_ticketno) {
        this.h_ticketno = h_ticketno;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String execute() {
        finishProductServices fps=new finishProductServices();
        fps.InsertFinishProduct(this.h_no, this.h_name, this.h_size, this.h_r, this.h_n, this.h_num, this.h_date, this.h_people,this.h_ticketno, this.status);
        fps.Allprint();
        return "success";
    }
}
